package net.wofly.sale.order.domain;


import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 有效活动
 *
 * @author lign
 * @version 1.0
 * @created 26-11月-2017 11:32:56
 */
@Data
@Entity
@Table(name = "sale_order_validactivity")
@ApiModel(description = "有效活动")
public class ValidActivity {
    
    @Id
    private long activityID;
    private Long modifyDate;
    /**
     * 关联ID
     * <ul>
     * <li>关联是订单时，就是OrderID</li>
     * <li>关联是订单内商品时，就是OrderContentID</li>
     * </ul>
     */
    private String relateID;
    /**
     * 关联类型
     * <ul>
     * <li>1:订单  2:订单内商品</li>
     * </ul>
     */
    private Integer relateType;
    private String validActivityID;
    //public Order m_Order;
    
    public ValidActivity() {
    
    }
    @Override
    public void finalize() throws Throwable {
    
    }
}